home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr47 / fn32_3.zip / DD.DOC < prev    next >
Text File  |  1993-02-07  |  2KB  |  39 lines

  1. Usage: dd
  2.  [if=file] [of=file] [ibs=bytes] [obs=bytes] [bs=bytes] [cbs=bytes]
  3.  [skip=blocks] [seek=blocks] [count=blocks]
  4.  [conv={hex,hex+,ascii,ebcdic,ibm,block,unblock,lcase,ucase,swab,noerror,sync}]
  5.  
  6.     Numbers can be followed by a multiplier:
  7.     b=512, k=1024, w=2, xm=number times m, e.g.128x32
  8.  
  9.    Options:
  10.    if=FILE          Read from FILE instead of stdin.
  11.    of=FILE          Write to FILE instead of stdout; don't truncate FILE.
  12.    ibs=BYTES        Read BYTES bytes at a time.
  13.    obs=BYTES        Write BYTES bytes at a time.
  14.    bs=BYTES         Override ibs and obs.
  15.    cbs=BYTES        Convert BYTES bytes at a time.
  16.    skip=BLOCKS      Skip BLOCKS ibs-sized blocks at start of input.
  17.    seek=BLOCKS      Skip BLOCKS obs-sized blocks at start of output.
  18.    count=BLOCKS     Copy only BLOCKS input blocks.
  19.    conv=CONVERSION[,CONVERSION...]
  20.  
  21.    Conversions:
  22.    hex              Convert FILE to printed hex. [NEW]
  23.    hex+             Convert FILE to printed hex + ascii sidebar. [NEW]
  24.    ascii            Convert EBCDIC to ASCII.
  25.    ebcdic           Convert ASCII to EBCDIC.
  26.    ibm              Convert ASCII to alternate EBCDIC.
  27.    block            Pad newline-terminated records to size of
  28.                     cbs, replacing newline with trailing spaces.
  29.    unblock          Replace trailing spaces in cbs-sized block with newline.
  30.    lcase            Change uppercase characters to lowercase.
  31.    ucase            Change lowercase characters to uppercase.
  32.    swab             Swap every pair of input bytes.
  33.                     Unlike the Unix dd, this works with an odd number of bytes.
  34.    noerror          Continue after read errors.
  35.    sync             Pad every input block to size of ibs with trailing NULs.
  36.  
  37.    This PCDOS version of dd will read and write a: and b: as raw diskettes.
  38.    
  39.